
<h3>Listado de Solicitudes</h3>
<br />

<% form_tag url_for(:action=>"update_table"),{:id =>"pre_register_requests_form_search"} do -%>
 <fieldset id="agrupacion" >
   
<fieldset class="column-left">
    
    <p class="two-col"><label>Campo:    </label><%= text_field_tag "search_id" %></p>
     <p class="two-col"><label>Estado de Solicitud  </label><%= select_tag "search_request_state", options_for_select(CulturalHeritage::PreRegisterRequest.list_states) %></p>

</fieldset>
   <fieldset class="column-right">
        <p class="two-col"><label>Criterio de Búsqueda: </label><%=  select_tag "field_name",  options_for_select([["Todos","Todos"],["Descripcion","Descripcion"], ["Codigo","Codigo"]]) %></p>

     
   </fieldset>
  
   <fieldset class="column-right">
   <input class="button" name="Buscar" value="Buscar" type="submit" />
   </fieldset>



   </fieldset>

<% end %>

<br />
<div id="pre_register_requests_table">
    <%= render :partial=>"table" %>
</div>

<br />

<%= link_to 'Nueva Solicitud de Pre Registro', new_cultural_heritage_pre_register_request_path %>
